package com.base2.webshop.server.web;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.SessionAttributes;
import org.springframework.web.servlet.ModelAndView;

import com.base2.webshop.server.web.constants.PageNames;

@Controller
@SessionAttributes
public class MainController {

	@RequestMapping("/home")
	public ModelAndView showWebShop() {
		return new ModelAndView(PageNames.HOME_PAGE);
	}
}
